package com.pf.common.enums;

import lombok.Getter;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/8/14
 */
@Getter
public enum JobExecuteStatusEnum {

    SUCCESS(0, "执行成功"),
    FAIL(1, "执行失败"),
    RUNNING(2, "执行中");

    private Integer code;
    private String msg;

    JobExecuteStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
